﻿using System.Runtime.Serialization;
using System.Web.Security;

namespace Heroius.ArtechWCF.Server
{
    [DataContract(Namespace = "http://www.artech.com/")]
    public class MembershipProviderData
    {
        [DataMember]
        public string ApplicationName { get; set; }
        [DataMember]
        public bool EnablePasswordReset { get; set; }
        [DataMember]
        public bool EnablePasswordRetrieval { get; set; }
        [DataMember]
        public int MaxInvalidPasswordAttempts { get; set; }
        [DataMember]
        public int MinRequiredNonAlphanumericCharacters { get; set; }
        [DataMember]
        public int MinRequiredPasswordLength { get; set; }
        [DataMember]
        public int PasswordAttemptWindow { get; set; }
        [DataMember]
        public MembershipPasswordFormat PasswordFormat { get; set; }
        [DataMember]
        public string PasswordStrengthRegularExpression { get; set; }
        [DataMember]
        public bool RequiresQuestionAndAnswer { get; set; }
        [DataMember]
        public bool RequiresUniqueEmail { get; set; }
    }
}
